//
//  Song.m
//  HelloWorld
//
//  Created by 曾泽昱 on 2024/7/10.
//

#import "Song.h"

@implementation Song

@synthesize title = title;
@synthesize artist = artist;

-(id)init{
    self = [super init];
    if(self){
        title =@"";
    }
    return self;
}
-(Song*) initWithTitle:(NSString*) newTitle andArtist:(NSString*)newArtist{
    self = [super init];
    if(self != nil){
        self.title = newTitle;
        self.artist = newArtist;
    }
    return self;
}

-(void)start{
    
}
-(void)stop{
    
}
-(void)seek:(long int)time{
    
    
}
-(NSString*)getTitle{
    return title;
}
-(void)setTitle:(NSString*)newTitle{
    title = newTitle;
}

@end

